import java.util.Scanner;
import java.util.ArrayList;
import java.util.Stack;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 晓星航
 * Date: 2023-03-08
 * Time: 19:01
 */
class Student {
    String name;
    String sex;
    double grade;

    public Student(String name, String sex, double grade) {
        this.name = name;
        this.sex = sex;
        this.grade = grade;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public double getGrade() {
        return grade;
    }

    public void setGrade(double grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", grade=" + grade +
                '}';
    }
}

public class TestDemo {
    public boolean IsPopOrder (int [] pushA,int [] popA) {
        Stack<Integer> stack = new Stack<>();
        int j = 0;
        for (int i = 0; i < pushA.length; i++) {
            stack.push(pushA[i]);
            if (j < popA.length && stack.empty() && stack.peek() == popA[j]) {
                stack.pop();
                j++;
            }
        }
        return stack.empty();
    }
    public static void main(String[] args) {

    }
    public static void func(double a,double b) {
        if (a > b) {
            System.out.println("a大于b".toString());
        } else if (a < b) {
            System.out.println("a小于b".toString());
        } else {
            System.out.println("a等于b".toString());}
    }

    public static void main1(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while(scanner.hasNext()){
            double ret1 = scanner.nextDouble();
            double ret2 = scanner.nextDouble();
            func(ret1,ret2);
        }
    }
}
